<?php

declare(strict_types=1);

namespace Plugin\Attractions\Inspection\Model\Inspection_exception_result;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id 
 * @property int $inspection_record_id 记录ID
 * @property int $device_id 设备ID
 * @property string $photo 图片
 * @property string $remark 备注
 * @property int $status 状态1：正常2：异常
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class InspectionExceptionResult extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'inspection_exception_result';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'inspection_record_id', 'device_id', 'photo', 'remark', 'status', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'inspection_record_id' => 'integer', 'device_id' => 'integer', 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
